﻿//*****************************************************************************
//
//  Copyright 2008 IT Cloud Company
//
//  This software is available under the Microsoft Public License.  Please
//  read the license agreement at http://opensource.org/licenses/ms-pl.html
//  before using the software.
//
//  Authors:
//    Don Song (don@itcloud.com)
//
//*****************************************************************************

using System;
using System.Collections.Generic;
using System.Text;

namespace HeadLinx.AD.Common
{
    /// <summary>
    /// Enumerates the different types of queries for searching people in
    /// the organization.
    /// </summary>
    public enum HeadLinxQueryType
    {
        /// <summary>
        /// Query which returns the superiors of a person in the organization.
        /// A superior is a manager, manager of manager, and so forth, up to
        /// the head person in the organization.
        /// </summary>
        Superiors,

        /// <summary>
        /// Query which returns the direct reports of a person in the
        /// organization.  The root of the returned tree will be the
        /// specified person.
        /// </summary>
        DirectReports,

        /// <summary>
        /// Query which returns the peers of a person in the organization.
        /// Peers are those who report to the same manager.  The root of
        /// the returned tree will be the manager of the peers.
        /// </summary>
        Peers,

        /// <summary>
        /// Query which returns the relationships between arbitrary (caller
        /// specified) persons in the organization.
        /// </summary>
        Arbitrary,
    }
}
